package cn.gok.common.entity.adress;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author: shikundai
 * @Date: 2020/10/20
 * @Time: 15:04
 * @description: 描述区域的类
 */
@Data
@TableName("areas")
public class Area {
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:09
     * @Description: id
     */
    @TableId(value ="id",type = IdType.AUTO)
    private Integer id;
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:09
     * @Description: 区域ID
     */
    @TableField("areaid")
    private String areaId;
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:09
     * @Description: 区域名字
     */
    @TableField("area")
    private String area;
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:10
     * @Description: 所属城市ID
     */
    @TableField("cityid")
    private String cityId;
}
